package com.bussiness.system.api;

import java.util.Map;


import com.bussiness.system.query.sys.SsSysDictQuery;
import com.bussiness.system.util.Result;
import com.bussiness.system.form.SysDictForm;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;


/**
 * 数据字典表
 *
 * @author xlr
 * @email liru@tengyue360
 * @date 2018-08-11 19:26:41
 */
@RequestMapping("sys/sssysdict")
public interface SysDictControllerApi {


    @RequestMapping("/test")
    public Result test(@PathVariable("id") Integer id);

    /**
     * 列表
     */
    @PostMapping("/list")
    public Result listS(@RequestBody @Validated SsSysDictQuery query);


    /**
     * 信息
     */
    @GetMapping("/info/{id}")
    public Result info(@PathVariable("id") Long id);

    /**
     * 保存
     */
    @PostMapping("/save")
    public Result save(@RequestBody SysDictForm ssSysDict);

    /**
     * 修改
     */
    @PutMapping("/update")
    public Result update(@RequestBody SsSysDictQuery ssSysDict);

    /**
     * 删除
     */
    @DeleteMapping("/delete")
    public Result delete(@RequestBody Long[] ids);
}

